package com.jackiechancinema.ssm.dao;

import com.jackiechancinema.ssm.entity.Drills;
import com.jackiechancinema.ssm.entity.Official;

import java.util.List;

public interface OfficialDao {
        //查询所有
        List<Official> queryAll();
        //新增
        int insertAdd(Official official);
        //修改
        int updateUpdate(Official official);
        //根据ID删除
        int deleteDel(int id);

        List<Official> queryAllV2(Official official);
}
